package org.midy.infrastructure;

import java.nio.channels.SelectionKey;
import java.nio.channels.SocketChannel;

public interface InformationDistribution {
    void routeData(byte[] readMessage, SocketChannel socketChannel, SelectionKey selectionKey, IOEventDrivenWorker worker);

    void writeData(byte[] writeMessage, SocketChannel socketChannel, SelectionKey selectionKey, IOEventDrivenWorker worker);
}
